html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

.ui-sprite, .ui-continue, .ui-home, .ui-lottery, .ui-prize, .ui-rule-title, .ui-rule, .ui-send, .ui-sure, .ui-tanks, .ui-txt-1, .ui-validate {
  background-image: url('../images/ui-s0eaf223515.png');
  background-repeat: no-repeat;
}

.ui-continue {
  background-position: 0 0;
}

.ui-home {
  background-position: 0 -61px;
}

.ui-lottery {
  background-position: 0 -122px;
}

.ui-prize {
  background-position: 0 -206px;
}

.ui-rule-title {
  background-position: 0 -267px;
}

.ui-rule {
  background-position: 0 -307px;
}

.ui-send {
  background-position: 0 -452px;
}

.ui-sure {
  background-position: 0 -506px;
}

.ui-tanks {
  background-position: 0 -567px;
}

.ui-txt-1 {
  background-position: 0 -601px;
}

.ui-validate {
  background-position: 0 -635px;
}

html, body {
  height: 100%;
}

* {
  transition-timing-function: ease-in-out;
}

a {
  text-decoration: none;
}

a, button, input {
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
}

.f_l {
  float: left;
}

.f_r {
  float: right;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.hide {
  display: none;
}

body {
  position: relative;
  width: 640px;
  box-shadow: 0 0 160px 0 #eaeaea;
  margin: 0 auto;
  min-height: 100%;
  font-size: 24px;
  text-align: center;
  -webkit-overflow-scrolling: touch;
  color: #fff;
}

img {
  vertical-align: top;
}

#wrap {
  height: 100%;
  width: 640px;
  min-height: 1008px;
  background: url(../images/assets/bg.jpg) no-repeat;
  background-size: cover;
  position: relative;
  padding-bottom: 1px;
}

.logo {
  display: inline-block;
  position: absolute;
  top: 10px;
  left: 12px;
}

.rules {
  display: inline-block;
  position: absolute;
  height: 145px;
  width: 145px;
  top: -4px;
  right: 0;
}

.slogan {
  margin-top: 68px;
}

.game-box {
  margin: 18px auto 0;
  background: url(../images/assets/game-bg.png) no-repeat;
  width: 572px;
  height: 370px;
  box-sizing: border-box;
}
.game-box ul {
  position: relative;
}
.game-box li {
  width: 140px;
  height: 120px;
  box-sizing: border-box;
  position: absolute;
  display: -webkit-box;
  -webkit-box-align: center;
  -webkit-box-pack: center;
  text-align: center;
  font-size: 24px;
  color: white;
  text-shadow: 1px 1px 2px #d99f3a,-1px -1px 2px #d99f3a;
}
.game-box li.on {
  background: url(../images/assets/light.png) no-repeat;
  background-size: 140px 120px;
}

.ui-txt-1 {
  width: 450px;
  height: 34px;
  margin: 24px auto 45px;
}

.rcode {
  width: 240px;
  height: 60px;
  background: #fff;
  color: #000;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  padding: 15px;
  line-height: 30px;
  font-size: 24px;
  outline: none;
  margin-bottom: 40px;
}

.ui-lottery {
  display: inline-block;
  width: 273px;
  height: 84px;
}

.layermbox .layermchild {
  max-width: 515px !important;
  min-width: 515px !important;
  border-radius: 15px !important;
  border: 2px solid #fff55d;
  box-shadow: none !important;
  background: -webkit-linear-gradient(rgba(117, 163, 80, 0.79), rgba(13, 101, 50, 0.79));
}
.layermbox .layermcont {
  padding: 0;
  color: #fff55d;
}
.layermbox .btn-group {
  font-size: 0;
  margin-bottom: 20px;
}
.layermbox .btn-group a {
  display: inline-block;
  width: 186px;
  height: 61px;
  margin: 0 16px;
}
.layermbox .laymshade {
  width: 640px;
  left: 50%;
  margin-left: -320px;
}

#rule-box .title {
  display: inline-block;
  height: 68px;
  width: 280px;
  background: rgba(167, 255, 89, 0.79);
  border-radius: 0 0 15px 15px;
  text-align: center;
  border: 0;
  margin: 0;
  padding: 0;
}
#rule-box .ui-rule-title {
  display: inline-block;
  width: 169px;
  height: 40px;
  vertical-align: top;
  margin-top: 14px;
}
#rule-box .scroll {
  text-align: left;
  font-size: 28px;
  line-height: 48px;
  margin-top: 25px;
  height: 530px;
  overflow: hidden;
  padding: 0 40px;
  position: relative;
}
#rule-box .ui-home {
  display: inline-block;
  width: 186px;
  height: 61px;
  margin: 30px 0 20px;
}

#result-box-1 .title {
  font-size: 30px;
  line-height: 30px;
  margin: 40px 0 30px;
}
#result-box-1 .prize-name {
  font-size: 36px;
  line-height: 36px;
  color: #fff;
}
#result-box-1 .tip {
  font-size: 26px;
  line-height: 26px;
  margin: 30px 0;
}

#result-box-2 .title {
  font-size: 36px;
  line-height: 36px;
  margin: 64px 0 25px;
  color: #fff;
}
#result-box-2 .tip {
  font-size: 26px;
  line-height: 37px;
  padding: 0 55px;
  margin-bottom: 18px;
}

.result-box .msg {
  font-size: 36px;
  line-height: 36px;
  margin: 103px 0 75px;
  color: #fff;
}

#result-box-6 .tip {
  font-size: 30px;
  line-height: 50px;
  margin: 70px 0 35px;
}

#validate-box .title {
  font-size: 30px;
  line-height: 30px;
  color: #f5ffb1;
  margin: 55px 0;
}
#validate-box .ui-item {
  margin-bottom: 32px;
  font-size: 0;
}
#validate-box input {
  background: #c8a76e;
  border: 0;
  border-radius: 0;
  outline: none;
  width: 298px;
  height: 54px;
  line-height: 30px;
  font-size: 28px;
  padding: 12px;
  box-sizing: border-box;
}
#validate-box #vcode {
  width: 167px;
  margin-right: 20px;
}
#validate-box .ui-send {
  display: inline-block;
  width: 109px;
  height: 54px;
  vertical-align: top;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  line-height: 56px;
  color: #683300;
}
#validate-box ::-webkit-input-placeholder {
  color: #683300;
  line-height: 30px;
}

.modal {
  height: 100%;
  position: fixed;
  z-index: 19891015;
  width: 640px;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
}

#remind {
  width: 461px;
  height: 200px;
  position: fixed;
  box-sizing: border-box;
  border-radius: 15px;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -230px;
  z-index: 99999999;
  display: -webkit-box;
  -webkit-box-align: center;
  border: 2px solid #fff55d;
  background: -webkit-linear-gradient(rgba(117, 163, 80, 0.79), rgba(13, 101, 50, 0.79));
}
#remind .content {
  color: #f3ff6a;
  font-size: 28px;
  text-align: center;
  width: 381px;
  padding: 20px 40px;
  line-height: 45px;
}

.iScrollVerticalScrollbar {
  position: absolute;
  z-index: 9999;
  width: 10px;
  bottom: 2px;
  top: 2px;
  right: 10px;
  overflow: hidden;
}

.iScrollVerticalScrollbar.iScrollBothScrollbars {
  bottom: 18px;
}

.iScrollIndicator {
  position: absolute;
  border-radius: 10px;
}

.iScrollVerticalScrollbar .iScrollIndicator {
  width: 100%;
  background: #fff55d;
}
